using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using NBusiness.CodeDom.Compiler;
using System.CodeDom.Compiler;

namespace NBusiness.CodeDom.Compiler
{
    [Serializable]
	public abstract class EntityParser : MarshalByRefObject, ICodeParser
	{
		public abstract EntityRoot ParseCode(params string[] code);
		public abstract EntityRoot ParseFiles(params string[] paths);

        #region ICodeParser Members

        public System.CodeDom.CodeCompileUnit Parse(TextReader codeStream)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
